<extend name="Public/base"/>

<block name="style">
<link href="__CSS__/jtbk.css" rel="stylesheet" type="text/css"/>
</block>
<block name="content">   
    <ul class="nav nav-tabs">
    <li ><a href="{:U('Index/index')}">首页</a></li>
   <li ><a href="{:U('Beike/upload')}">资料上传</a></li>
   <li><a href="{:U('Beike/addsubject')}">课程管理</a></li>
   <li ><a href="{:U('Beike/myupload','id='.$vo['id'])}" >我的上传情况</a><li>
   <li class="active"><a href="{:U('Beike/listsub','sid='.$subject['id'])}" >{$subject.description}</a><li>
   </ul>
	<!-- 标题栏 -->
           <h3>{$subject.description} </h3>
            <empty name="list">
            <br/>
                <span class="label label-info">暂无上传</span>
           <else/>
                                    
                                
           <table class="table table-striped" width="95%">
        <thead>
        <tr class="info">
            <th>序号</th><th>年级</th><th>学科</th><th>课题</th><th>上传教师</th><th>上传日期</th><th>操作</th>
        </tr>
        </thead>
      <volist name="list" id="v" >
        <tr>
            <td>{$i}</td>
            <td>{$v.grade}</td>
            <td>{$v.subject_id}{$v.subject}</td> 
            <td><a href="{:U('Index/detail','id='.$v['id'])}">{$v.title}</a></td> 
            <td>{$v.teacher}</td>                     
            <td>{$v.update_time|date='Y-m-d',###}</td>
            <td>
            <a href="{:U('Index/detail','id='.$v['id'])}"><span style="color:#0088AA"><i class="glyphicon glyphicon-edit"></i>查看</span></a><eq >｜
            <a href= "{:U('Index/edit','id='.$v['id'])}" ><span style="color:#0088AA"><i class="glyphicon glyphicon-edit"></i>编辑</span></a></td>

            </tr>
        </volist>
        </table>
        </empty> 
 </div> 
</block>

